home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 62
/
Volume 62 - JOGO DISK .iso
/
Games
/
room-maker.swf
/
scripts
/
frame_18
/
DoAction.as
Wrap
Text File
|
2008-03-17
|
1KB
|
23 lines
stop();
_root.frame._visible = false;
_root.room._x = _root.frame._x;
_root.room._y = _root.frame._y;
Movieclip.prototype.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable)
{
getURL("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open(\'" + url + "\',\'" + winName + "\',\'" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top=\'+((screen.height/2)-(" + h / 2 + "))+\',left=\'+((screen.width/2)-(" + w / 2 + "))+\'" + "\')}else{myWin.focus();};void(0);","");
};
print_btn.onRelease = function()
{
trace("Print Screen here");
getURL("print:","_level" add _root.room);
};
playAgain_btn.onRelease = function()
{
_root.gotoAndStop("intro");
roomStuffDrag = true;
};
email_btn.onRelease = function()
{
getUrl("TS_email.html", "_blank");
};